package yunjiao.javatutorials.designpatterns.visitor.example2;

import yunjiao.javatutorials.designpatterns.visitor.example2.items.Book;
import yunjiao.javatutorials.designpatterns.visitor.example2.items.Electronics;
import yunjiao.javatutorials.designpatterns.visitor.example2.items.Fruit;
import yunjiao.javatutorials.designpatterns.visitor.example2.items.Vegetable;

/**
 * TODO
 *
 * @author yangyunjiao
 */
public interface ShopVisitor {
    double DISCOUNT_NONE = 0.0d;

    double DISCOUNT_5_PERCENT = 0.05d;

    double DISCOUNT_7_PERCENT = 0.07d;

    double DISCOUNT_10_PERCENT = 0.10d;

    double DISCOUNT_12_PERCENT = 0.12d;

    double DISCOUNT_15_PERCENT = 0.15d;

    double visit(Fruit item);

    double visit(Vegetable item);

    double visit(Book item);

    double visit(Electronics item);
}
